<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/include/common.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<table>
	<tr align='center'>
		<td>
			<c:forEach items="${categoryList}" var="category" varStatus="loop">
				<a href="<c:url value='/main.do?categoryId=${category.categoryId}'/>">
					${category.categoryNm}
				</a>
				<c:if test="${!loop.last}">
					|
				</c:if>
			</c:forEach>
		</td>
	</tr>
</table>